package com.xx.jicheng.solr;

import java.io.Reader;

import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.Tokenizer;

public class BrandAnalyzer extends Analyzer {

	public BrandAnalyzer() {
		super();
	}

	@Override
	protected TokenStreamComponents createComponents(String fieldName, Reader reader) {
		Tokenizer _IKTokenizer = new BrandTokenizer(null, reader);
		return new TokenStreamComponents(_IKTokenizer);
	}

}
